import { useState, useEffect } from "react"

function Demo41(props) {
    const { num, name } = props
    return (
        <div className="main_box">
            <div>
                子组件1, 父组件传过来的数据:{num}, {name}
            </div>
        </div>
    )
}

export default Demo41
